package psg.p2pManager;



// Set up PSG Configuration: Whether this is Ultrapeer.

public class Configuration{
	
	String myID;
	boolean isUltrapeer;
	
	public Configuration(String ID, boolean Ultrapeer){
	
		myID = ID;		
		isUltrapeer = Ultrapeer;
		
	}
	
	// Return whether PSG is an Ultrapeer.
	public boolean isUltra(){
		
		return isUltrapeer;
		
	}
	
	// Set Peer to Ultra Peer.
	public void set_Ultrapeer(){
		
		isUltrapeer = true;
		
	}

	// Set Peer to Normal Peer.
	public void set_Normalpeer(){
		
		isUltrapeer = false;
		
	}
	
	
	
	

}
